﻿@model DemoPlena.Dominio.Usuario

@*<p>*@
@*    @Html.ActionLink("Create New", "Create")*@
@*</p>*@
<table>
    <tr>
        <th>
            @Html.DisplayNameFor(model => model.Nome)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.Email)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.Senha)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.TipoUsuario)
        </th>
        <th></th>
    </tr>

@if (Model != null) {
    <tr>
        <td>
            @Html.DisplayFor(modelItem => Model.Nome)
        </td>
        <td>
            @Html.DisplayFor(modelItem => Model.Email)
        </td>
        <td>
            @Html.DisplayFor(modelItem => Model.Senha)
        </td>
        <td>
            @Html.DisplayFor(modelItem => Model.TipoUsuario)
        </td>
        <td>
            @Html.ActionLink("Edit", "Edit", new { id=Model.IdUsuario }) |
            @Html.ActionLink("Delete", "Delete", new { id=Model.IdUsuario })
        </td>
    </tr>
}
</table>
